1 \e[27m./1.scripttest_param_q.sh
3 ================================
5 ================================
6 \e[27mclean testing temp dir!
8 ================================
9 test 5 items continously, ignore err when testing.
10 ================================
11 \e[27mFull item testing.
14 \e[1m
\e[32m [unit] 1."测试套件的测试" begin testing ...
\e[0m
15 \e[1m
\e[35m [item] 1."测试环境运行" ...
\e[0m
\e[1m
\e[31m[failed]
\e[0m
16 testing result difference from correct output.
18 ###############################################
20 \e[36m<
\e[0m
\e[31m[err]:
\e[0m./1.test_suite_testing.sh
22 \e[36m
\e[7m>
\e[0m [err]: ./1.test_suite_testing.sh
23 ###############################################
24 \e[1m
\e[35m [item] 2."测试命令的-a功能参数测试" ...
\e[0m
\e[1m
\e[31m[failed]
\e[0m
25 testing result difference from correct output.
27 ###############################################
29 \e[36m<
\e[0m
\e[31m[err]:
\e[0m./2.scripttest_param_a.sh
31 \e[36m
\e[7m>
\e[0m [err]: ./2.scripttest_param_a.sh
32 ###############################################
33 \e[1m
\e[32m [unit] 2."脚本运行环境测试" begin testing ...
\e[0m
34 \e[1m
\e[35m [item] 1."解释器修正程序测试" ...
\e[0m
\e[1m
\e[31m[failed]
\e[0m
35 testing result difference from correct output.
37 ###############################################
39 \e[36m<
\e[0m n1.无参数。对文件中原有的interpreter进行路径修正,如果不存在,输出提示信息。
40 \e[36m<
\e[0m cp: warning: source file '1.shell_interpreter_fix_testing.sh' specified more than once
41 \e[36m<
\e[0m chmod: cannot access 'scripts/*': No such file or directory
42 \e[36m<
\e[0m head: cannot open 'scripts/1.interpreter_sh_with_wrong_path.sh' for reading: No such file or directory
43 \e[36m<
\e[0m /bin/bash
45 \e[36m<
\e[0m head: cannot open 'scripts/1.interpreter_sh_with_wrong_path.sh' for reading: No such file or directory
46 \e[36m<
\e[0m interpreter not fixed.
47 \e[36m<
\e[0m ./1.shell_interpreter_fix_testing.sh: line 43: ./scripts/1.interpreter_sh_with_wrong_path.sh: No such file or directory
48 \e[36m<
\e[0m interpreter not fixed
49 ###############################################
50 \e[1m
\e[35m [item] 2."shell解释器路径测试" ...
\e[0m
\e[1m
\e[31m[failed]
\e[0m
51 testing result difference from correct output.
53 ###############################################
55 \e[36m<
\e[0m
\e[27m./2.shell_interpreter_path.sh
56 \e[36m<
\e[0m ./2.shell_interpreter_path.sh
57 ###############################################
58 \e[1m
\e[35m [item] 3."系统命令列表" ...
\e[0m
\e[1m
\e[31m[failed]
\e[0m
59 testing result difference from correct output.
61 ###############################################
63 \e[36m<
\e[0m
\e[27m./3.sys_cmd_list.sh
64 \e[36m<
\e[0m ./3.sys_cmd_list.sh
65 ###############################################
67 \e[31m(
\e[32m5
\e[31m) items is tested,Error count is (
\e[32m5
\e[31m)
\e[0m
68 ================================
69 test 5 items continously, ignore err, and do not dispaly diff info for errs.
70 ================================
71 \e[27mFull item testing.
74 \e[1m
\e[32m [unit] 1."测试套件的测试" begin testing ...
\e[0m
75 \e[1m
\e[35m [item] 1."测试环境运行" ...
\e[0m
\e[1m
\e[31m[failed]
\e[0m
76 \e[1m
\e[35m [item] 2."测试命令的-a功能参数测试" ...
\e[0m
\e[1m
\e[31m[failed]
\e[0m
77 \e[1m
\e[32m [unit] 2."脚本运行环境测试" begin testing ...
\e[0m
78 \e[1m
\e[35m [item] 1."解释器修正程序测试" ...
\e[0m
\e[1m
\e[31m[failed]
\e[0m
79 \e[1m
\e[35m [item] 2."shell解释器路径测试" ...
\e[0m
\e[1m
\e[31m[failed]
\e[0m
80 \e[1m
\e[35m [item] 3."系统命令列表" ...
\e[0m
\e[1m
\e[31m[failed]
\e[0m
82 \e[31m(
\e[32m5
\e[31m) items is tested,Error count is (
\e[32m5
\e[31m)
\e[0m
83 ================================